//
//  KBaseSearchCommandDTO.h
//  KutulusLaw
//
//  Created by Mahmood1 on 12/10/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "KBaseCommandDTO.h"
#define kKEY_PAGE_NUMBER @"page"
#define kKEY_ROWS_NUMBER @"rows"

#define kKEY_SEARCH		@"search"
#define kKEY_DATE_FROM	@"datefrom"
#define kKEY_DATE_TO	@"dateto"
#define kKEY_FILE_TYPE	@"filetype"
#define kKEY_DATE_TYPE @"datetype"

@interface KBaseSearchCommandDTO : KBaseCommandDTO {
	NSInteger _fileType;
}

@property (atomic) NSInteger page;
@property (atomic) NSInteger rows;

@property (nonatomic, strong) NSString* search;
@property (nonatomic, strong) NSDate* dateForm;
@property (nonatomic, strong) NSDate*	
dateTo;
@property (nonatomic, assign) NSInteger fileType;
@property (nonatomic, strong) NSString* fileTypeText;

- (id)initWithSessionID:(NSString *)sessionID;
- (void)reset;

@end
